package com.qf.dao;

import com.qf.model.Car;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface CarDao {
    int insertCar(Map<String, Object> map);

    List<Car> selectCarByUid(Integer id);

    int updateCarById(int id, int cnum, BigDecimal csum);

    int deleteCarById(int id);

    Car selectCarByUidAndPid(Integer pid, Integer uid);

    int updateCarByPidAndUid(Map<String, Object> map);
}
